package bizlogic;

import java.util.ArrayList;
import dao.BookingDAO;
import dao.DAOFactory;
import model.BookingDTO;

public class BookingManager {
	
	private BookingDAO bookingDAO;
	
	public BookingManager(){
		
		bookingDAO = DAOFactory.loadInstance().getBookingDAO();
	}
	
	public ArrayList<BookingDTO> findCurrentBookings(){
		ArrayList<BookingDTO> currentBookings = new ArrayList<BookingDTO>();
		currentBookings = bookingDAO.findCurrentBookings();
		return currentBookings;
	}
	
	
	
}
